<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<li><a href="javascript:location.reload()"> <i
		class="fa fa-home"></i> <span class="nav-label">首页</span>
</a></li>

<c:forEach var="item" items="${resourceBeans }">


<li>
	<a href="<pl:url url="${item.url }" base="${pageContext.request.contextPath}"/>" class="J_menuItem"><i class="${item.icon }"></i> <span
		class="nav-label">${item.name }</span><c:if test="${item.hasChild == 1 }"><span class="fa arrow"></span></c:if></a>
	<c:if test="${item.hasChild == 1 }">
		<ul class="nav nav-second-level">
			<c:forEach var="item" items="${item.childBeans }">
				<li><a class="J_menuItem" href="<pl:url url="${item.url }" base="${pageContext.request.contextPath}"/>">${item.name }<c:if test="${item.hasChild == 1 }"><span class="fa arrow"></span></c:if></a>
					<c:if test="${item.hasChild == 1 }">
						<ul class="nav nav-third-level">
							<c:forEach var="item" items="${item.childBeans }">
								<pl:checkPrivilege resourceId="${item.id }">
								<li><a class="J_menuItem" href="<pl:url url="${item.url }" base="${pageContext.request.contextPath}"/>">${item.name }</a></li>
								</pl:checkPrivilege>
							</c:forEach>						
						</ul>		
					</c:if>
				</li>
			</c:forEach>
		</ul>
	</c:if>
</li>
</c:forEach>

<li><a href="#"><i class="fa fa-th-large"></i> <span
		class="nav-label">所有资源模块</span><span class="fa arrow"></span></a>
	<ul class="nav nav-second-level">
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/players.html">用户管理</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/plat/plats.html">渠道信息</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/day_regiestPersonNum.html">用户日注册列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/month_regiestPersonNum.html">用户月注册列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/regiestMap.html">用户注册信息柱状图</a></li>

		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/online.html">在线人数列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/onlineMap.html">在线人数统计图</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/activeMap.html">玩家活跃人数统计图</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/player/retentionRateMap.html">留存率图</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/recharge/recharges.html">玩家充值信息列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/recharge/dayChargeList.html">每日充值列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/recharge/moonChargeList.html">每月充值列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/union/unionList.html">茶馆列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/union/unionMap.html">茶馆加入创建饼状图</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/pay/dayPayRate.html">玩家日付费率列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/pay/moonPayRate.html">玩家月付费率列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/pay/dayPayActiveRate.html">玩家日付费渗透率列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/pay/moonPayActiveRate.html">玩家月付费渗透率列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/arpu/dayArpu.html">玩家日arpu列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/arpu/moonArpu.html">玩家月arpu列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/average/dayAveragePay.html">玩家日平均值列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/average/moonAveragePay.html">玩家月平均值列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/recharge/statistics.html">充值统计</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/recharge/rechargeCountMap.html">用户充值次数柱状图</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/recharge/dayRechargePersonCountList.html">每日充值用户数列表
		</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/recharge/moonRechargePersonCountList.html">每月充值用户数列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/log/goldMap.html">金币日志统计图</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/log/diamondMap.html">钻石日志统计图</a></li>

	</ul></li>


<li><a href="#"><i class="fa fa-th-large"></i> <span
		class="nav-label">权限管理</span><span class="fa arrow"></span></a>
	<ul class="nav nav-second-level">
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/resource/resourceList.html">模块列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/resource/roleList.html">角色管理</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/resource/testJsTree.html">树列表</a></li>
		<li><a class="J_menuItem"
			href="${pageContext.request.contextPath}/admin/gm/gmList.html">GM命令列表</a></li>
	</ul></li>

<li><a href="#"><i class="fa fa-flask"></i> <span
		class="nav-label">UI元素</span><span class="fa arrow"></span></a>
	<ul class="nav nav-second-level">
		<li><a href="#">字体图标 <span class="fa arrow"></span></a>
			<ul class="nav nav-third-level">
				<li><a class="J_menuItem" href="http://www.zi-han.net/theme/hplus/fontawesome.html">图标1</a></li>
				<li><a class="J_menuItem" href="http://www.zi-han.net/theme/hplus/glyphicons.html">图标2</a></li>
			</ul></li>
	</ul></li>

